package com.example.springbootsfzy.domain;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * 
 * @TableName course_favorites
 */
@Data
public class CourseFavorites implements Serializable {
    /**
     * 
     */
    private Integer favoriteId;

    /**
     * 
     */
    private Integer courseId;

    /**
     * 
     */
    private Integer memberId;

    /**
     * 
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date favoriteTime;

    private Members members;

    private Courses courses;

    private CoursePurchaseRecords purchaseRecords;


    private static final long serialVersionUID = 1L;
}